package org.springblade.tms.global.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springblade.common.enums.Enumerator;
import org.springblade.tms.global.anno.SelectEnum;

/**
 * @projectName: BladeX
 * @package: org.springblade.tms.global.enums
 * @className: operatingEnum
 * @author: yr
 * @description: 运单操作枚举
 * @date: 2022/3/18 16:00
 */
@AllArgsConstructor
@Getter
@SelectEnum(value = "operating", desc = "运单操作枚举")
public enum OperatingEnum implements Enumerator {
	ARRIVE_AT_THE_PICK_UP_POINT("arriveAtThePickUpPoint", "到达提货点"),
	START_SHIPMENT("startShipment", "启运"),
	ARRIVE_AT_THE_TRANSFER_STATION("arriveAtTheTransferStation", "到达中转站"),
	DELIVERY("delivery", "运达"),
	DISCHARGE("discharge", "卸货"),
	SIGN_FOR_RECEIPT("signForReceipt", "签收");
	private final String value;
	private final String description;

	@Override
	public String value() {
		return value;
	}

	@Override
	public String description() {
		return description;
	}
}
